using System.Net;

namespace SmartBoard.Core.Networking
{
    public class ProxyInfo
    {
        #region Constructor
        public ProxyInfo(ProxyType proxyType, IPEndPoint proxyEndPoint, NetworkCredential proxyCredential)
        {
            ProxyType = proxyType;
            ProxyEndPoint = proxyEndPoint;
            ProxyCredential = proxyCredential;
            SOCKS5Phase = SOCKS5Phase.Idle;
        }
        #endregion

        #region Properties

        public NetworkCredential ProxyCredential { get; private set; }
        public IPEndPoint ProxyEndPoint { get; private set; }
        public ProxyType ProxyType { get; private set; }

        internal SOCKS5Phase SOCKS5Phase { get; set; }
        internal SOCKS5AuthMode SOCKS5Authentication { get; set; }
        internal bool Completed { get; set; }

        #endregion

    }
}